//
//  SellerMyBillTableViewCell.m
//  Shengzhuli
//
//  Created by subook on 16/8/17.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "SellerMyBillTableViewCell.h"

@interface SellerMyBillTableViewCell()

@property (strong, nonatomic) IBOutlet UILabel *mobilePhoneLabel;
@property (strong, nonatomic) IBOutlet UILabel *productNameLabel;
@property (strong, nonatomic) IBOutlet UILabel *orderNoLabel;
@property (strong, nonatomic) IBOutlet UILabel *amountLable;
@property (strong, nonatomic) IBOutlet UILabel *createDataLabel;
@end

@implementation SellerMyBillTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(SellerSaleDetailModel *)model
{
    _model = model;
    self.mobilePhoneLabel.text = model.mobilePhone;
    self.productNameLabel.text = model.productName;
    self.orderNoLabel.text = model.orderNo;
    self.amountLable.text = [NSString stringWithFormat:@"¥%.2f",model.amount];
    self.createDataLabel.text = model.createDate;
}

@end
